<?php

/**
 * AdminController.php
 * 
 * <DESCRIPTION OF FILE>
 * 
 * Created on Mar 14, 2010
 * @author Jason Motes
 * 
 * @copyright <COPYRIGHT_HOLDER>
 * 
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License Version2
 *
 * @package clrdvol_Cpnr
 * @version $Id: AdminController.php 39 2010-03-17 05:35:09Z jsmotes@gmail.com $
 */
class AdminController extends Zend_Controller_Action
{

    public function init()
    {
      $options = $this->getInvokeArg('bootstrap')->getOptions();
      $this->view->layout()->siteTitle = $options['layout']['sitetitle'];
      $this->view->layout()->pageTitle = $options['layout']['controller']['admin']['pagetitle'];
      $this->view->layout()->navLinks = $options['layout']['nav'];
      $this->view->layout()->menu = $options['layout']['nav']['admin']['menu'];     
    }

    public function indexAction()
    {
        // action body
    }
}